package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.enums.DelEnum;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * 表单设计对象
 *
 * @author wufeng
 * @date 2018/8/10 15:13
 */
@Getter
@Setter
@ToString
public class FormGetDTO extends BaseDTO {

    private static final long serialVersionUID = 6845449318811350095L;

    /**
     * 应用id
     */
    @NotNull(message = "{dto.msg.formGet.appId.NotNull}")
    private Long appId;

    /**
     * 菜单id
     */
    private Long menuId;

    private Long formId;

    private Integer del;

    /**
     * 业务类型
     */
    private Integer businessType;
    /**
     * 应用场景
     * @see com.xbongbong.pro.enums.PrintSceneTypeEnum
     */
    private Integer sceneType;

    public FormGetDTO(){
        del = DelEnum.NORMAL.getDel();
    }

}
